home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 July / INTERNET105.ISO / pc / software / windows / building / homesite / snippets / sample snippets / close window (form).hss < prev    next >
Encoding:
Text File  |  1998-10-11  |  336 b   |  19 lines

  1.  
  2. <!-- Start Close Window, enter in Head tag -->
  3. <SCRIPT LANGUAGE="JavaScript">
  4.  
  5. <!--
  6. function exit(url) {
  7.    if (window.name == "") {
  8.       top.location.href = url;
  9.    } else {        
  10.       top.opener.top.location.href = url;
  11.       top.close();
  12.    }
  13. }
  14. //-->
  15.  
  16. </SCRIPT>
  17. <!-- Start Close Window, enter in Head tag -->
  18.  
  19.